package com.smileus.common;

import java.io.Serializable;

/**
 * 封装服务信息，通过该对象能定位到一个具体的服务
 * 
 * @author heng.dong
 * 
 */
public class CallInfo implements Serializable {
	private static final long serialVersionUID = 1L;
	private String sysDomain;// 系统域：如katong
	private String service;// 服务：如userService.add
	private String url;
	private Param[] params;
	private String serviceType;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Param[] getParams() {
		return params;
	}

	public void setParams(Param[] params) {
		this.params = params;
	}

	public String getServiceType() {
		return serviceType;
	}

	public void setServiceType(String serviceType) {
		this.serviceType = serviceType;
	}

	public String getService() {
		return service;
	}

	public CallInfo() {
		super();
	}

	public CallInfo(String key, String service) {
		super();
		this.sysDomain = key;
		this.service = service;
	}

	public void setService(String service) {
		this.service = service;
	}

	public String getSysDomain() {
		return sysDomain;
	}

	public void setSysDomain(String sysDomain) {
		this.sysDomain = sysDomain;
	}
}
